package cn.edu.lingnan.tourism.service;

import cn.edu.lingnan.tourism.exeption.TourismException;
import cn.edu.lingnan.tourism.pojo.Route;

import java.util.List;
import java.util.Map;
import java.util.Objects;

/**
 * @author liyinglai
 */

public interface RouteService {
    public List<Route> getAllRoutes();
    public List<Route> searchRoutes(Route route)throws TourismException;

    public Map<String, Object> getRouteDetails(Integer routeId)throws TourismException;

  /*  public List<Route> getFavoriteRoutes(Integer userId)throws TourismException;

    public List<Route> getRoutesByCategory(Integer categoryId)throws TourismException;*/
    public Map<String,List<Route>> getRouteMap();
    public List<Route> getHotRoutes();
    public List<Route> getNewRoutes();

    // 可根据需要添加其他路线相关的方法

}
